import { Routes, RouterModule }  from '@angular/router';
import {SingleComponent} from "./single.component";
import { DeviceonlinesComponent } from "./device-online/device-online.component"

const routes:Routes = [
  { path: '', component: SingleComponent },
  { path: 'deviceonlines/:deviceId', component: DeviceonlinesComponent},
];

export const SingleRoute = RouterModule.forChild(routes);
